package com.wanlian.common;

public class ConstantCode {
    /**
     * 拦截器
     */
    public static final String PLATFORM_APP = "PLATFORM_APP";
    public static final String PLATFORM_WEB = "PLATFORM_WEB";
    public static final String USERINFO_KEY = "PLATFORM_WEB_USERINFO";

    public static final String CODE="PLATFORM_WEB_CODE";

    /**
     * notice
     */
    public static final String NOTICE_MSG="NOTICE_MSG";
    public static final String NOTICE_NEWS="NOTICE_NEWS";
    public static final String NOTICE_SYSTEM="NOTICE_SYSTEM";


    /**
     * noticeType
     */
    //消息
    public static final int NOTICE_MSG_TYPE=0;
    //短信
    public static final int NOTICE_SMS_TYPE=1;

    /**
     * fileType
     */
    public static final  int STORAGE_FILE_MOVIE=0;
    public static final  int STORAGE_FILE_PHOTO=1;
    public static final  int STORAGE_FILE_MUSIC=2;
    public static final  int STORAGE_FILE_OTHER=3;


    /**
     * intchangedetail
     * 兑换流水状态：
     * 1.已提交
     * 2.兑换中
     * 3.交易成功
     * 4.交易失败
     */
    public static final int STATUS_SUBMIT = 1;
    public static final int STATUS_EXECUTING = 2;
    public static final int STATUS_SUCCESS = 3;
    public static final int STATUS_FAIL = 4;


    /**
     * scorehistory
     * 交易类型：
     * 1.共享奖励
     * 2.邀请送
     * 3.商品兑换
     * 4.int提取
     * 5.线上预售奖励
     * 6.退款
     */
    public static final int TRANS_SHARE = 1;
    public static final int TRANS_INVITE = 2;
    public static final int TRANS_CHANGE = 3;
    public static final int TRANS_INTEXT = 4;
    public static final int TRANS_LINEINT = 5;
    public static final int TRANS_TKJL = 6;

    /**
     * 手机系统：
     * 1.IOS
     * 2.ANDROID
     */
    public static final String APP_VERSION_IOS = "IOS";
    public static final String APP_VERSION_ANDROID = "ANDROID";


    /**
     * Dns设置方式
     * 0.自动
     * 1.手动
     */
    public static final  int Dns_DEFAULT=0;
    public static final int Dns_HAND=1;


    public static final int STORAGE_TOTAL=32 * 1024 * 1024;

}
